//package com.atguigu.shargingjdbcdemo.entity;
//
//import com.baomidou.mybatisplus.annotation.TableField;
//import com.baomidou.mybatisplus.annotation.TableName;
//import com.fasterxml.jackson.annotation.JsonFormat;
//import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
//import com.fasterxml.jackson.databind.annotation.JsonSerialize;
//import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
//import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
//import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//import lombok.experimental.Accessors;
//import java.io.Serializable;
//import java.time.LocalDateTime;
///**
// * <p>
// *     用户观看视频时长
// * <p/>
// *
// * @author dx
// * @since 2021/6/22
// */
//@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@TableName("UserWatchVideoLog")
//@TableIndices({
//        @TableIndex(name = "IX_USERID" ,ddl = "CREATE NONCLUSTERED INDEX [IX_USERID] ON UserWatchVideoLog ( [UserId] DESC)" ),
//        @TableIndex(name = "IX_LESSONITEMID_USERID" ,ddl = "CREATE NONCLUSTERED INDEX [IX_LESSONITEMID_USERID] ON UserWatchVideoLog (LessonItemId ASC,UserId ASC)" )
//})
//public class UserWatchVideoLogPo implements Serializable {
//    @MppMultiId // 复合主键
//    @TableField("userId")
//    private Integer userId;
//    @TableField("lessonItemId")
//    private Integer lessonItemId;
//    @TableField("seconds")
//    private Integer seconds;
//    @TableField("subjectId")
//    private Integer subjectId;
//    @TableField("VideoProgress")
//    private Integer videoProgress;
//    @TableField("[Resource]")
//    private Integer resource;
//    @TableField("[Type]")
//    private Integer type;
//    @TableField("CreateTime")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
//    @JsonSerialize(using = LocalDateTimeSerializer.class)
//    private LocalDateTime createTime;
//    @TableField("UpdateTime")
//    private LocalDateTime updateTime;
//}